package com.nageoffer.jobtrain.projects.dto.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 系统消息获取返回实体
 * author：唐晨
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MessagePageListRespDTO {
    /**
     * 消息主键id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 消息内容
     */
    private String content;
}
